package com.ecoolex.hotel.saas.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.hotel.saas.core.mapper.PresaleCouponOrderMapper;
import com.ecoolex.hotel.saas.entity.PresaleCouponOrder;
import com.ecoolex.hotel.saas.pojo.QueryPresaleCouponOrderDTO;

public interface PresaleCouponOrderDAO extends PresaleCouponOrderMapper {
	
	Long count(@Param("query") QueryPresaleCouponOrderDTO query);
	
	List<PresaleCouponOrder> query(@Param("query") QueryPresaleCouponOrderDTO query, @Param("page") Page page);
}